# ============================================================================== #
#                                     MODULES                                    #
# ============================================================================== #
import tensorflow as tf
import numpy as np
import cv2
import os
import shutil
# import models
import sys


# ============================================================================== #
#                                   DEFINITION                                   #
# ============================================================================== #
SOURCE_DATA_PATH = "../data/"                       # source images
CACHE_SOURCE_PATH = "../cache/crop_image/"           # segmented image
CACHE_RESULT_PATH = "../cache/cnn_image/"            # images through the nr_cnn
RESULT_DATA_PATH = "../result/"                     # result images
CHECKPOINTS_PATH = '../checkpoints'

NETWORK_IMG_SIZE = 27       #
NUM_CHANNELS = 3
MAX_CKPT_TO_KEEP = 50       # max checkpoint files to keep
PATCH_SIZE_HEIGHT = 216
PATCH_SIZE_WIDTH = 216
PATCH_HEIGHT_STRIDE = 0.5
PATCH_WIDTH_STRIDE = 0.5
BATCH_SIZE = 27

MODEL_NAME = 'rk_deconv'


def p_info(info):
    print "INFO:", info


def p_error(info):
    print "ERROR:", info


def p_warning(info):
    print "WARNING:", info


def p_nr_cnn(info):
    print "NR_CNN:", info,


def p_process(info):
    print "PROCESS:", info,
